package com.itasura.delegate;

import lombok.Setter;

/**
 * @author sailor wang
 * @date 2018/11/6 1:58 PM
 * @description
 */
@Setter
public class BusinessDelegate {

    private BusinessLookup businessLookup;

    private ServiceType serviceType;

    public void doTask() {
        businessLookup.getBusinessService(serviceType).doProcessing();
    }
}